import turtle as tu
tu.setup(650,350,200,200)#设置画布大小和位置
tu.penup()
tu.fd(-250)#初始位置
tu.pendown()
tu.pensize(25)
tu.pencolor("purple")
tu.seth(-40)#初始方向

#循环绘制四次圆弧，🐍身体
for i in range(4):
    tu.circle(40,80)
    tu.pencolor("purple")
    tu.circle(-40,80)
    tu.pencolor("red")
#🐍头部
tu.circle(40,40)
tu.fd(40)
tu.circle(16,180)
tu.fd(40*2/3)

tu.done()

